/*
 * Copyright user2010
 * All rights reserved
 */

package org.myorg.applitest.gui.swing.components.panel;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.LayoutStyle;

/**
 *
 * @author user
 */
public class PnlIdtHmnName extends JPanel{
    public PnlIdtHmnName() {
        initComponents();
        this.setSize(340, 168);
    }

        private void initComponents() {







        int lengthTxf = 120;

        this.ltfNom = new lbzVrtTextField("Nom",lengthTxf);
        this.ltfPrenom1 = new lbzVrtTextField("Prenom 1",lengthTxf);
        this.ltfPrenom2 = new lbzVrtTextField("Prenom 2",lengthTxf);
        this.ltfPrenom3 = new lbzVrtTextField("Prenom 3",lengthTxf);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(ltfNom)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(ltfPrenom1)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(ltfPrenom2)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(ltfPrenom3)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                )
            .addGroup(layout.createSequentialGroup()
                
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                


                .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(ltfNom)
                .addComponent(ltfPrenom1)
                .addComponent(ltfPrenom2)
                .addComponent(ltfPrenom3)
                )
                )
        );
    }

   public String getNameNom(){
       return ltfNom.getText();
   }
   public String getNamePrenom1(){
       return ltfPrenom1.getText();
   }
   public String getNamePrenom2(){
       return ltfPrenom2.getText();
   }
   public String getNamePrenom3(){
       return ltfPrenom3.getText();
   }

    private lbzVrtTextField ltfNom;
    private lbzVrtTextField ltfPrenom1;
    private lbzVrtTextField ltfPrenom2;
    private lbzVrtTextField ltfPrenom3;


}
